package com.leoman.service;

import com.leoman.entity.Type;
import com.leoman.service.common.ICommonService;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * Created by Administrator on 2016/3/8.
 */
public interface TypeService extends ICommonService<Type> {

    // 获取问题类型列表
    List<Type> findList();

    Page<Type> findList(Integer pageNum, Integer pageSize);

    List<Type> findListName(String name);
}
